#-------------------------------------------------
#
# Project created by QtCreator 2016-12-01T14:04:24
#
#-------------------------------------------------

QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = DicomViewer
TEMPLATE = app

DEFINES += HAVE_PROTOTYPE_GETHOSTNAME
QMAKE_CFLAGS_RELEASE += /MD
QMAKE_CFLAGS_DEBUG += /MDd
QMAKE_CXXFLAGS_RELEASE += /MD
QMAKE_CXXFLAGS_DEBUG += /MDd

RC_ICONS = Resources/jf.ico
TRANSLATIONS += dicomviewer_cn.ts

CONFIG(release, debug|release) {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MD\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MD\lib\*.lib"
} else {
INCLUDEPATH += $$"C:\Program Files (X86)\DCMTK_MDd\include"
LIBS += $$"C:\Program Files (X86)\DCMTK_MDd\lib\*.lib"
}

LIBS += advapi32.lib wsock32.lib netapi32.lib

SOURCES += \
    GraphicsItem/abstractpathitem.cpp \
    GraphicsItem/graphicsangleitem.cpp \
    GraphicsItem/graphicsarrowitem.cpp \
    GraphicsItem/graphicscliprectitem.cpp \
    GraphicsItem/graphicscobbangleitem.cpp \
    GraphicsItem/graphicscrossitem.cpp \
    GraphicsItem/graphicsellipseitem.cpp \
    GraphicsItem/graphicslineitem.cpp \
    GraphicsItem/graphicsrectitem.cpp \
    GraphicsItem/graphicssimpletextitem.cpp \
    GraphicsItem/graphicstextmarkdialog.cpp \
    GraphicsItem/graphicstextmarkitem.cpp \
    GraphicsItem/graphicstumoritem.cpp \
    ImageData/imageinstancedata.cpp \
    ImageData/imageloadthread.cpp \
    ImageData/seriesinstance.cpp \
    MainFrame/main.cpp \
    Viewer2D/dicomimagelabel.cpp \
    Viewer2D/dicomimageview.cpp \
    Viewer2D/dicomviewer.cpp \
    Viewer2D/thumbnailbarwidget.cpp \
    Viewer2D/viewcontainerwidget.cpp \
    Viewer2D/filewatcherthread.cpp \
    Viewer2D/modalityproperty.cpp \
    MainFrame/aboutdialog.cpp \
    Viewer2D/exportimagedialog.cpp \
    ImageData/exportimagethread.cpp \
    Viewer2D/gridpopwidget.cpp \
    Network/ftpsetupdialog.cpp \
    Network/qftp.cpp \
    Network/qurlinfo.cpp \
    Network/ftpclientthread.cpp


HEADERS  += \
    GraphicsItem/abstractpathitem.h \
    GraphicsItem/graphicsangleitem.h \
    GraphicsItem/graphicsarrowitem.h \
    GraphicsItem/graphicscliprectitem.h \
    GraphicsItem/graphicscobbangleitem.h \
    GraphicsItem/graphicscrossitem.h \
    GraphicsItem/graphicsellipseitem.h \
    GraphicsItem/graphicslineitem.h \
    GraphicsItem/graphicsrectitem.h \
    GraphicsItem/graphicssimpletextitem.h \
    GraphicsItem/graphicstextmarkdialog.h \
    GraphicsItem/graphicstextmarkitem.h \
    GraphicsItem/graphicstumoritem.h \
    ImageData/imageinstance.h \
    ImageData/imageinstancedata.h \
    ImageData/imageloadthread.h \
    ImageData/seriesinstance.h \
    Viewer2D/dicomimagelabel.h \
    Viewer2D/dicomimageview.h \
    Viewer2D/dicomviewer.h \
    Global/structs.h \
    Viewer2D/thumbnailbarwidget.h \
    Viewer2D/viewcontainerwidget.h \
    Global/commondefs.h \
    Viewer2D/filewatcherthread.h \
    Viewer2D/modalityproperty.h \
    MainFrame/aboutdialog.h \
    Viewer2D/exportimagedialog.h \
    ImageData/exportimagethread.h \
    Viewer2D/gridpopwidget.h \
    Network/ftpsetupdialog.h \
    Network/qftp.h \
    Network/qurlinfo.h \
    Network/ftpclientthread.h


FORMS    += \
    GraphicsItem/graphicstextmarkdialog.ui \
    Viewer2D/dicomviewer.ui \
    MainFrame/aboutdialog.ui \
    Viewer2D/exportimagedialog.ui \
    Viewer2D/gridpopwidget.ui \
    Network/ftpsetupdialog.ui

RESOURCES += \
    dicomviewer.qrc

